const obj = {
  weapp:  {
    entryPagePath: '',
    pages: [],
    subpackages: [
      {
        "root": "select-views",
        "pages": [
          "pages/index/index"
        ]
      },
    ]
  },
  h5: {
    pages: []
  }
}
export default {
  entryPagePath: "pages/mine/index",
  pages: [
    "pages/index/index",
    "pages/study/index",
    "pages/mine/index",
    "pages/set/index",
    "pages/about-us/index"
  ],
  subpackages: obj[process.env.TARO_ENV].subpackages || undefined,
  window: {
    backgroundColor: "#fafafa",
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "WeChat",
    navigationBarTextStyle: "black",
    // navigationStyle: "custom"  //自定义导航
    /* enablePullDownRefresh: true */ // 下拉刷新
  },
  tabBar: {
    list: [
      {
        pagePath: "pages/index/index",
        text: "选课",
        iconPath: "images/bottom-bar-select.png",
        selectedIconPath: "images/bottom-bar-select_active.png"
      },
      {
        pagePath: "pages/study/index",
        text: "学习中心",
        iconPath: "images/bottom-bar-study.png",
        selectedIconPath: "images/bottom-bar-study_active.png"
      },
      {
        pagePath: "pages/mine/index",
        text: "我的",
        iconPath: "images/bottom-bar-mine.png",
        selectedIconPath: "images/bottom-bar-mine_active.png"
      }
    ],
    backgroundColor: "#ffffff",
    color: "#303133",
    selectedColor: "#303133",
    borderStyle: 'white'
  }
}
